import React from 'react'
import ReactDom from 'react-dom'
import News from './pages'

import { Provider } from 'react-redux'

import 'Assets/styles/reset.css'

import Store from './store'

// 开启热更新 局部修改
if (module && module.hot) {
  module.hot.accept()
}

// document.documentElement.style.fontSize = document.documentElement.clientWidth / 3.75 + 'px'

ReactDom.render(
  <Provider store={Store}>
    <News />
  </Provider>,
  document.querySelector('#root'),
)
